home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
wasm223.zip
/
READ.ME
< prev
next >
Wrap
Text File
|
1993-05-04
|
8KB
|
171 lines
Wolfware Assembler (WASM) Version 2.23
Copyright (c) 1985-1991 Eric Tauck. All rights reserved
Wolfware Assembler (WASM) is a free assembler for the 8086 and compatible
microprocessors. WASM is best suited for writing system utilities, TSR's, and
other small programs. The minimum system requirements are an IBM PC or
compatible, 100K of free memory, and DOS 2.0 or up. The assembler package
consists of the assembler program, the user's manual, a list of version
changes, and sample programs. All of the documentation (*.DOC) files are
standard text files that can be displayed on the screen or printed.
Unmodified copies of WASM may be shared and distributed. WASM may be used
without obligation to me, the author. The most current version of WASM (2.22
at the time of this writing) may be acquired on 5.25" 360K or 3.5" 720K disks
by sending $10 (checks payable to Eric Tauck) to the address below. The WASM
source code (written in WASM) is available for $20. The source code is for
personal use and not for distribution. Please add $5 for overseas shipping.
Note: I expect to produce only trivial (if any) upgrades to WASM in the
foreseeable future.
Eric Tauck
1304 Deerpass Road
Marengo, IL 60152
U.S.A.
Compuserve: 72457,1557
Internet: 72457.1557@compuserve.com
SUMMARY OF FILES
----------------
Several of the files are self-extracting archive files. The archive files
will expand when executed. The approximate size of the expanded files (in
thousands of bytes) is listed for each archive.
HISTORY.DOC summary of WASM version changes
WASM.DOC WASM User's Manual
WASM.REF WASM Instruction set reference
WASM.COM assembler program
EDITOR.EXE ASMED editor (archive, 184K)
LIBRARY.EXE library files (archive, 342K)
MRED.EXE Mr Ed editor (archive, 58K)
SAMPLES.EXE sample programs (archive, 100K)
SLEEPER.EXE Sleeper sample program (archive, 95K)
SESSION.EXE Session sample program (archive, 137K)
ROUTINE.EXE Turbo C and Turbo Pascal inline subroutines (archive, 7K)
OBJECT.EXE object (OBJ) file support (archive, 29K)
JOHNSON.EXE debugging utilities / sample programs (archive, 23K)
UTILITY.EXE general utilities (archive, 98K)
Some of the sample programs expect to find the library files in the LIBRARY
subdirectory. The Session program expects itself to be in a subdirectory and
the library files to be found in ..\LIBRARY. Make sure that the assembler can
locate all required files when assembling these programs.
VERSION 2.20 to 2.23 NOTES
--------------------------
The user's manual has not been upgraded since version 2.11. The only
significant change is the support of the 80186 and 80286 processors. The
following instructions have been added or enhanced:
ARPL LAR LTR RCR SHR
BOUND LEAVE OUTSB ROL SIDT
CLTS LGDT OUTSW ROR SLDT
ENTER LIDT POPA SAL SMSW
IMUL LLDT PUSH SAR STR
INSB LMSW PUSHA SGDT VERR
INSW LSL RCL SHL VERW
WASM will assemble 80186 and 80286 code regardless of the microprocessor doing
the assembling. There is no way to disable these instructions, so be careful
not to run 80186 or 80286 code on an 8088 or 8086 processor.
The enhanced IMUL instruction for 80186 and 80286 processors will not assemble
properly in one particular instance, when the first operand of the "IMUL reg16,
reg16, imed" version is AX. If the first operand of IMUL is AX or AL, the
instruction MUST be the standard 8086 32 bit multiply. This is to maintain
compalibility with WASM code prior to the introduction of 80186/80286
instructions.
The 1 bit version of the shift and roll instructions must be written without
a second operand to assemble correctly for an 8088/8086:
shl al ;one bit shift for an 8088/8086 and 80186/80286/etc
shl al, 1 ;one bit shift for an 80186/80286/etc, WON'T WORK ON 8088/8086
The documentation file WASM.REF is a reference to all of the instructions
supported by WASM, including the new and enhanced instructions. This file
replaces the Instruction Set section of the user's manual.
LIBRARY NOTES
-------------
The TSR support provided in the library files TSR1.ASM, TSR2.ASM, and TSR3.ASM
are only used by the sample program BASE.ASM. The other sample program TSR's
(like SLEEPER and AUTOPARK) do not use library TSR support.
The macro language provided in the library files MACRO1.ASM and MACRO2.ASM is
still a little experimental and not fully tested. The macro language is based
on Forth and may be difficult to understand if you aren't familiar with Forth.
The Session communications program is the one sample program that uses the
macro language. The files without an extension included with the Session
souce code are Session macro files.
OBJECT FILES
------------
The WASM User's manual states that WASM cannot produce object (OBJ) files.
This is no longer true. A set of macros in the OBJECT.EXE archive allow WASM
to produce object files that can be linked with most commercial languages.
The files in the archive ROUTINE.EXE also allow WASM code to be used with
other languages, but as inline code.
JOHNSON
-------
These files contain some debugging utilities and example programs that have
been written and made available by D. E. Johnson. The debugging utilities
(DHEX.INC and DREGMEM.INC) provide macros that allow you to interrupt your
program and examine the contents of the registers and memory. The other files
demonstrate some specific programming tasks.
ASMED
-----
ASMED is a shareware programer's editor suitable for creating WASM source
files. You don't have to use ASMED, but it can make using WASM a whole lot
easier. Not only will ASMED edit your files, but it will assemble them and
trap the assembly errors. ASMED creates an integrated environment similar to
that provided by the "Turbo" and "Quick" languages.
Before using ASMED with WASM, you must make sure it's properly configured.
I've set up the default configuration file (ASMED.CNF) to trap WASM error
messages. You will only have to configure ASMED's directory option so ASMED
can find WASM. See the ASMED manual (ASMED.MAN) for details.
ASMED is shareware. You may try it for free, but if you continue to use it,
you must pay the author (not me). See the ASMED manual for details. Note
that ASMED is a separate product from WASM. Anything you might of paid to use
WASM does not give you the right to use ASMED. All correspondence regarding
ASMED should be sent to:
Chicago Software
1805 Brunetti Way
Suite 555
Sparks, NV 89431
Compuserve: 72207,247
GEnie: J.CHICAGO
Note: ASMED hasn't seemed to work on my system since I upgraded to DOS 5.0.
If you have problems with ASMED and need an editor, I've provided another
editor called Mr Ed.
MR ED
-----
Mr Ed is another editor you can use for creating WASM source files. Mr Ed
may be best described as "unobtrusive" -- it's pretty small and fast, but it
doesn't have too many features.
UTILITIES
---------
This archive contains several additional archive files. The file LH213.EXE
is a self-extracting archive of LHA, the free archiver used to do all this
archiving. The other files in UTILITY.EXE are .LZH files, and LHA must be
used to dearchive these files.